package dao;

import entity.StaffsEntity;

import java.util.List;

/**
 * @AUTHOR CJ
 * <p>
 * *@DATE 2025 - 02 - 24
 */
public interface StaffsDao {
    //查询功能
    StaffsEntity selectStaffs();

    public int insert(StaffsEntity staff);
    //添加功能
    int insertStaffs(StaffsEntity staffs);

    //修改
    int updateStaffs(StaffsEntity staffs);

    //删除
    int deleteStaffs(int staffsId);

    //根据id分页查询
    List<StaffsEntity> PaginationQuery(int jd,int sd);

    public List<StaffsEntity> selectByPage(int correntPage,int pageSize);
}
